package com.wanlian.dao;


import com.wanlian.common.PageCondition;
import com.wanlian.entity.OrgRoleGroup;
import com.wanlian.model.ResultModel;
import com.wanlian.vo.Page;

import java.util.List;
import java.util.Map;

public interface OrgRoleGroupDao extends GenericDao<OrgRoleGroup>
{
    OrgRoleGroup queryByName(String name);

    List<Map<String, Object>> queryGroup(OrgRoleGroup orgRoleGroup);

    List<OrgRoleGroup> queryByPid(int parentId);

    void add(OrgRoleGroup group);

    void doedit(OrgRoleGroup group);

    void delete(int id);

    ResultModel queryPageList(PageCondition pageCondition);

}
